
package com.xiashitech.interfaces.agent.constants;

/**
 * agent运行状态
 */
public enum AgentStatus {

    NONE_DEPLOYED(null,"The agent is not deployed."),
    NOT_RUN(0,"The agent is deployed but not running."),
    RUNNING(1,"The agent is running."),
    BY_PASS(2,"The agent is running in bypass mode."),
    DEBUG_DIAGNOSIS(3,"The agent runs in debug mode so that online diagnosis can be performed.");

    private final Integer value;
    private final String remark;

    public Integer getValue() {
        return value;
    }

    public String getRemark() {
        return remark;
    }

    AgentStatus(Integer value, String remark) {
        this.value = value;
        this.remark = remark;
    }
}
